package com.errol.generic.http;

import org.springframework.http.HttpStatus;

/**
 * @author zhang xiao bin
 * @version v1.0
 * @date 2020/10/14
 * @since v
 **/
@FunctionalInterface
public interface HttpResponseStatusListener {

    /**
     * 针对某个 HttpStatus 执行的回调
     *
     * @param httpStatus 对应的 httpStatus
     */
    void callback(HttpStatus httpStatus);
}
